﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LanguageDetector.Data
{
    public class QueryResult<T> : List<T>
    {
        public int RowsFound { get; set; }

        List<Exception> _errors = new List<Exception>();
        public List<Exception> Errors
        {
            get { return _errors; }
            set
            {
                _errors.Clear();
                if (value != null)
                    _errors.AddRange(value);
            }
        }
    }
}
